const mock = require('mockjs/mockjs')
export const useDate = Mock.mock("/data/post", "post", (options) => {
    let { post } = options;
    const data = Mock.mock({
        id: '@guid',
        username,
        age,
        createdAt: '@datetime'
    });
    return {
        code: 200,
        message: '成功',
        data
    };
})